package com.service;

import com.bean.GoodsBean;
import com.dao.GoodsDao;

import java.sql.SQLException;
import java.util.List;

public class GoodsService {
    GoodsDao goodsDao = new GoodsDao();
    //删除
//    public int delRow(Integer prodid) throws SQLException {
//        return goodsDao.delRow(prodid);
//
//    }

    //查询
    public List<GoodsBean> selRow() throws SQLException {
        return goodsDao.selRow();

    }
}
